package com.gimi.cloud.jimi.manage.consumer.feign;

import com.gimi.cloud.jimi.common.utils.reqhead.Response;
import com.gimi.cloud.jimi.dto.order.OrderDTO;
import com.gimi.cloud.jimi.dto.userInfo.UserAppInformationDTO;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.gimi.cloud.jimi.dto.userInfo.RdUserInfoDTO;

import feign.Headers;
@FeignClient(name = "jimi-manage-service")
public interface UserInfoFeignService {
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "userInfo/list", method = RequestMethod.POST)
	Response getUserInfoList(RdUserInfoDTO userInfoDTO);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "userInfo/pageList", method = RequestMethod.POST)
	Response getUserInfoPageList(RdUserInfoDTO userInfoDTO);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "userInfo/single", method = RequestMethod.POST)
	Response getUserInfoSingle(RdUserInfoDTO userInfoDTO);
	
	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "userInfo/update", method = RequestMethod.POST)
	Response updateUserInfo(RdUserInfoDTO userInfoDTO);

	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "userInfo/userIsCanBeUsed", method = RequestMethod.POST)
	Response userIsCanBeUsed(RdUserInfoDTO dto);

	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "userInfo/detail", method = RequestMethod.POST)
	Response userDetail(RdUserInfoDTO dto);

	@Headers({"Content-Type: application/json","Accept: application/json"})
	@RequestMapping(value = "userInfo/userAppInfoList", method = RequestMethod.POST)
	Response userAppInfoList(UserAppInformationDTO appinfoParam);
}
